package com.fruitsales.cart.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.fruitsales.cart.pojo.cart;

public interface cartMapper {
	
    void delete(Integer cid);

    void insert(cart cart);

    cart select(Integer cid);

    void update(cart cart);
    
    int getcartnum(Integer uid);
    
    List<cart> queryByUserId(@Param("uid") Integer uid );
}